package net.pimpas.web.jsf.components.simpletag;

import javax.faces.component.UIComponent;
import javax.faces.webapp.UIComponentTag;

public class UISimpleTagTag extends UIComponentTag {


	private String tag;
	
	@Override
	protected void setProperties(UIComponent arg0) {
		UISimpleTag simple = (UISimpleTag) arg0;
		simple.setTag(this.getTag());
		
		super.setProperties(arg0);
	}
	
	@Override
	public String getComponentType() {
		return UISimpleTag.COMPONENT_TYPE;
	}

	@Override
	public String getRendererType() {
		return UISimpleTag.COMPONENT_RENDER_TYPE;
	}

	public String getTag() {
		return tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}
}